// 模拟数据
function getMockData() {
    return {
        "code": 200,
        "message": null,
        "data": {
            "total": 13,
            "list": [
                {
                    "id": 1,
                    "name": "iPhone 13",
                    "description": "好好好好好好好",
                    "price": 5999.00,
                    "stock": 100,
                    "isActive": true,
                    "categoryName": "电子产品",
                    "brandName": "苹果",
                    "skus": [
                        {
                            "sku_id": 1,
                            "sku_code": "IPH13-128GB-BLACK",
                            "sku_price": 5999.00,
                            "sku_stock": 50
                        },
                        {
                            "sku_id": 2,
                            "sku_code": "IPH13-256GB-WHITE",
                            "sku_price": 6799.00,
                            "sku_stock": 50
                        }
                    ],
                    "images": [
                        {
                            "image_id": 1,
                            "image_url": "/iPhone.jpg",
                            "is_main": true
                        },
                        {
                            "image_id": 2,
                            "image_url": "/iPhone2.jpg",
                            "is_main": false
                        }
                    ],
                    "attributes": [
                        {
                            "attribute_id": 1,
                            "attribute_name": "屏幕尺寸",
                            "attribute_value": "6.1英寸"
                        },
                        {
                            "attribute_id": 2,
                            "attribute_name": "存储容量",
                            "attribute_value": "128GB"
                        },
                        {
                            "attribute_id": 5,
                            "attribute_name": "存储容量",
                            "attribute_value": "256GB"
                        }
                    ]
                },
                {
                    "id": 2,
                    "name": "耐克运动鞋",
                    "description": "质量非常好",
                    "price": 799.00,
                    "stock": 200,
                    "isActive": true,
                    "categoryName": "服装",
                    "brandName": "耐克",
                    "skus": [
                        {
                            "sku_id": 3,
                            "sku_code": "NK-SHOE-42-BLACK",
                            "sku_price": 799.00,
                            "sku_stock": 100
                        }
                    ],
                    "images": [
                        {
                            "image_id": 3,
                            "image_url": "/nike_shoe.jpg",
                            "is_main": true
                        }
                    ],
                    "attributes": [
                        {
                            "attribute_id": 3,
                            "attribute_name": "鞋码",
                            "attribute_value": "42"
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "宜家书架",
                    "description": "太好了",
                    "price": 499.00,
                    "stock": 50,
                    "isActive": true,
                    "categoryName": "家居用品",
                    "brandName": "宜家",
                    "skus": [
                        {
                            "sku_id": 4,
                            "sku_code": "IKEA-SHELF-WOOD",
                            "sku_price": 499.00,
                            "sku_stock": 50
                        }
                    ],
                    "images": [
                        {
                            "image_id": 4,
                            "image_url": "/ikea_shelf.jpg",
                            "is_main": true
                        }
                    ],
                    "attributes": [
                        {
                            "attribute_id": 4,
                            "attribute_name": "材质",
                            "attribute_value": "实木"
                        }
                    ]
                }
            ],
            "pageNum": 1,
            "pageSize": 13,
            "size": 13,
            "startRow": 0,
            "endRow": 12,
            "pages": 1,
            "prePage": 0,
            "nextPage": 0,
            "isFirstPage": true,
            "isLastPage": true,
            "hasPreviousPage": false,
            "hasNextPage": false,
            "navigatePages": 8,
            "navigatepageNums": [1],
            "navigateFirstPage": 1,
            "navigateLastPage": 1
        }
    };
} 